package com.nova.android.tvlauncher.ui.viewmodel

import com_github_lib_base.base.BaseViewModel
import io.github.lib_autorun.bean.UpdateDto
import io.github.lib_autorun.task.manager.AppUpdateManager

class MainViewModel : BaseViewModel() {

    fun checkVersionUpdate(callback: (UpdateDto?) -> Unit) {

        AppUpdateManager.checkLauncherUpdate {
            callback(it)
        }

    }

}